package com.huangpuweb.api.model;

import org.springframework.jdbc.core.RowMapper;

import java.sql.ResultSet;
import java.sql.SQLException;

public class AppCgjYearCountMapper implements RowMapper<AppCgjYearCount> {
    @Override
    public AppCgjYearCount mapRow(ResultSet rs, int rowNum) throws SQLException {
        AppCgjYearCount  appCgjYearCount=new AppCgjYearCount();
        appCgjYearCount.setSpotcode(rs.getString("spotcode"));
        appCgjYearCount.setTotalnumber(rs.getString("totalnumber"));

        return appCgjYearCount;
    }
}
